package pare.common.so;

import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.List;

public interface SO_ISalaRMI extends SO_RemoteSubject {

	public void incluiJogadorSala(String jogador, SO_RemoteObserver observer) throws RemoteException;
	public List<String> getListaSala() throws RemoteException;
	public List<SO_RemoteObserver> getListaCliente() throws RemoteException;
	public void desconectaJogador(String jogador, SO_RemoteObserver observer) throws RemoteException;
	public int getRelogio() throws RemoteException;
	public String getLetraSorteada() throws RemoteException;
	public int getRodadaAtual() throws RemoteException;
	public List<String> getListaCategorias() throws RemoteException;
	public Integer getTempoRodada() throws RemoteException;
	public List<String> getJogadoresFinal() throws RemoteException;
	public List<Integer> getPontuacaoFinal() throws RemoteException;
	public boolean getEstadoSala() throws RemoteException;
	public void pedePraParar() throws RemoteException;
	//public void interrompeRodada() throws RemoteException;
	public void setRespostas(String jogador, List<String> respostas) throws RemoteException;
	public void trataRespostas() throws RemoteException;
	public ArrayList<List<String>> getRespostas() throws RemoteException;
	
}
